﻿#ifndef CASHRETURN_H
#define CASHRETURN_H

#include "CashSuper.h"
#include <QString>

class CashReturn : public CashSuper
{
private:
    double m_moneyCondition = 0.0;
    double m_moneyReturn = 0.0;
public:
    CashReturn(QString moneyCondition, QString moneyReturn);
    virtual double acceptCash(double money) override;
    virtual ~CashReturn() {}
};

#endif // CASHRETURN_H
